'use client'

import { Button } from '@/components/ui/button'
import { signIn } from 'next-auth/react'

const OauthLogin = () => {
  return (
    <Button
      onClick={() => signIn('github')}
      size={'lg'}
      variant={'outline'}
      className={'w-full'}
    >
      使用 GitHub 登录
    </Button>
  )
}

export default OauthLogin
